package com.ybwh.springboot2.okadmin.sys.dao;


import com.gitee.fastmybatis.core.mapper.CrudMapper;

import com.github.pagehelper.Page;

import com.ybwh.springboot2.okadmin.sys.model.po.SysRoleFunc;
import org.apache.ibatis.annotations.Param;

/**
* 角色功能关联表DAO
*
* @author Fan Beibei
* @date 2023-04-08 19:26:56
*/
public interface SysRoleFuncMapper extends CrudMapper<SysRoleFunc/*实体类*/, Long/*主键类型*/> {

    /**
    * 分页查询
    *
    * @param param    查询参数
    * @param pageNum  页号
    * @param pageSize 页大小
    * @return
    */
    Page<SysRoleFunc> selectByPage(
        @Param("param") SysRoleFunc param,
        @Param("pageNum") int pageNum,
        @Param("pageSize") int pageSize);

}